<?php
namespace other\pushorder\orders;

use other\pushorder\PushOrder;

/**
 * 百优云发货查询
 * @author zx
 * @package other\pushorder\taxcalc
 */
Class Shipment extends PushOrder
{
    /**
     * 发货
     * @param $params
     * @return mixed
     * @throws \app\exceptions\InternalException
     */
    public function getInfo($params)
    {
        $path = 'byy/query';
        $response = curlreq(
            $this->getUrl($path),
            $params,
            'post'
        );
        logs($response);
        $response = json_decode($response, true);
        return $this->response($response);
    }
}